package cn.vendcommon.com.entity.constants;

public class MQConstant {
    /**
     * 登录日志交换机
     */
    public static final String LOGIN_LOG_EXCHANGE = "login.exchange";
    public static final String LOGIN_LOG_QUEUE = "login.queue";
    public static final String LOGIN_LOG_ROUTING_KEY = "login.routingKey";

    /**
     * 库存交换机
     */
    public static final String INVENTORY_EXCHANGE = "inventory.exchange";
    public static final String INVENTORY_QUEUE = "inventory.queue";
    public static final String INVENTORY_ROUTING_KEY = "inventory.routingKey";
    public static final String INVENTORY_DLQ = "inventory.dlq";
    public static final String INVENTORY_DLX = "inventory.dlx";
    public static final String ROLLBACK_EXCHANGE = "rollback.exchange";
    public static final String ROLLBACK_QUEUE = "rollback.queue";
    public static final String ROLLBACK_ROUTING_KEY = "rollback.routingKey";

    /**
     * 死信交换机
     */
    public static final String DEAL_LETTER_EXCHANGE = "deal.letter.exchange";
    public static final String DEAD_LETTER_QUEUE_A_ROUTING_KEY = "deal.letter.queue.a.routingKey";
    public static final String DEAD_LETTER_QUEUE_B_ROUTING_KEY = "deal.letter.queue.b.routingKey";
    public static final String DEAD_LETTER_QUEUE_A_NAME = "deal.letter.queue.a";
    public static final String DEAD_LETTER_QUEUE_B_NAME = "deal.letter.queue.b";

}
